﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Divide.cs" company="">
//   
// </copyright>
// <summary>
//   TODO: Update summary.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace CompositionHelper
{
    using System.ComponentModel.Composition;

    using CalculatorContract;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    [Export(typeof(ICalculator))]
    [ExportMetadata("CalciMetaData", "Divide")]
    public class Divide : ICalculator
    {
        #region Public Methods and Operators

        /// <summary>
        /// The get number.
        /// </summary>
        /// <param name="a">
        /// The a.
        /// </param>
        /// <param name="b">
        /// The b.
        /// </param>
        /// <returns>
        /// The get number.
        /// </returns>
        public double GetNumber(double a, double b)
        {
            return a / b;
        }

        #endregion
    }
}